﻿namespace Borg
{
    public class PlugTypeEventHandlerInfo
    {
        private readonly PlugTypeInfo _plugType;

        public string OnPlugging
        {
            get { return _plugType.plugAttribute.OnPlugging; }
        }

        public string OnPlugged
        {
            get { return _plugType.plugAttribute.OnPlugged; }
        }

        public string OnUnplugging
        {
            get { return _plugType.plugAttribute.OnUnplugging; }
        }

        public string OnUnplugged
        {
            get { return _plugType.plugAttribute.OnUnplugged; }
        }

        public PlugTypeEventHandlerInfo(PlugTypeInfo plugType)
        {
            _plugType = plugType;
        }
    }
}

